
import request from '@/utils/request'
// 获取电价设置分页信息
export const getConfigureInfoApi = (params) => request.get('/pio-microservice-biz/cbm/org-ele-price/page', { params })

// 保存单位电价设置
export const saveConfigureInfoApi = (data) => request.post('/pio-microservice-biz/cbm/org-ele-price/save', data)

// 删除单位电价设置
export const delConfigureInfoApi = (id) => request.post(`/pio-microservice-biz/cbm/org-ele-price/delete?id=${id}`)

// 请求下拉列表数据
export const getConfigureListApi = (params) => request.get('/pio-microservice-biz/cbm/ele-price-template/list', { params })

// 计量点回路
export const getMeasurePointApi = (params) => request.get('/pio-microservice-biz/cbm/org-ele-price/bay/list', { params })

// 获取企业下拉框数据
export const gettreelist = (num) => request.get(`/pio-microservice-biz/pio/common/under/company/list?isShowAll=${num || 0}`)
